package com.example.demo1.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;

@FeignClient("item-service")
public interface Test {

    @GetMapping("/list")
    List<Map<String,Object>> test();
}
